<template>
    <div class="aside">
        <!--<div class="aside-pm" v-if="userInfo.userType==='PM'">-->
        <div class="aside-pm">
            <el-row class="tac">
                <el-menu class="el-menu-vertical-demo" :router="true" theme="dark">
                    <el-submenu index="1">
                        <template slot="title"><i class="el-icon-setting"></i>项目管理</template>
                        <el-menu-item-group>
                            <el-menu-item index="/projectBuild">项目建立</el-menu-item>
                            <el-menu-item index="/projectUpdate">项目列表</el-menu-item>
                        </el-menu-item-group>
                    </el-submenu>
                    <el-submenu index="2">
                        <template slot="title"><i class="el-icon-star-on"></i>项目追踪</template>
                        <el-menu-item-group>
                            <template slot="title">统计</template>
                            <el-menu-item index="/projectTraceSignIn">现场签到</el-menu-item>
                            <el-menu-item index="/projectTraceInvite">邀约统计</el-menu-item>
                            <el-menu-item index="/projectTraceJoin">参面统计</el-menu-item>
                        </el-menu-item-group>
                        <el-menu-item-group title="Offer跟进">
                            <el-menu-item index="/projectTraceOfferIn">已入职</el-menu-item>
                            <el-menu-item index="/projectTraceOfferOut">未入职</el-menu-item>
                        </el-menu-item-group>
                    </el-submenu>
                    <el-submenu index="3">
                        <template slot="title"><i class="el-icon-edit"></i>简历导入</template>
                        <el-menu-item-group>
                            <el-menu-item index="/dataImport">批量导入</el-menu-item>
                            <el-menu-item index="/dataCheck">数据查重</el-menu-item>
                            <el-menu-item index="/dataReplace">数据代替</el-menu-item>
                        </el-menu-item-group>
                    </el-submenu>
                    <el-submenu index="4">
                        <template slot="title"><i class="el-icon-setting"></i>权限管理</template>
                        <el-menu-item-group>
                            <el-menu-item index="/rightsManagementDate">所属项目排期</el-menu-item>
                            <el-menu-item index="/rightsManagementSpecial">特殊项目简历留存</el-menu-item>
                        </el-menu-item-group>
                    </el-submenu>
                </el-menu>
            </el-row>
        </div>
    </div>
</template>
<script>
    import { mapState } from 'vuex'
    export default {
        data(){
            return {}
        },
        computed:{
            ...mapState({
                userInfo: state => state.userInfo,
                loginState: state => state.loginState
            })
        },
        methods: {}
    }
</script>
<style lang="stylus" rel="stylesheet/stylus" scoped>
    .aside
        background-color: #1f2d3d
        min-height: 1000px
        height: 100%
    .el-menu
        border-radius 0
</style>